package com.rcadmin.busi.admin.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.rcadmin.busi.admin.dao.SysUserDao;
import com.rcadmin.busi.admin.ddl.SysUser;
import com.rcadmin.core.jpa.DaoException;

@Component
public class SysUserService {
	@Resource
	public SysUserDao sysUserDao;

	/**
	 * 查找用户
	 * 
	 * @param userName
	 * @return
	 * @throws DaoException
	 */
	public List<SysUser> findUser(String userName) {
		return sysUserDao.findUser(userName);
	}
}
